home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Apple Game Sprockets / InputSprocket 1.4 SDK / Interfaces&Libraries / InputSprocketDefer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-30  |  1.2 KB  |  54 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        InputSprocketDefer.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                xxx put dri here xxx
  13.  
  14.         Other Contact:        xxx put other contact here xxx
  15.  
  16.         Technology:            xxx put technology here xxx
  17.  
  18.     Writers:
  19.  
  20.         (sjb)    Steve Bollinger
  21.  
  22.     Change History (most recent first):
  23.  
  24.          <1>     7/10/98    sjb        first checked in
  25. */
  26.  
  27.  
  28. #pragma once
  29.  
  30. #ifndef __INPUTSPROCKETDEFER__
  31. #define __INPUTSPROCKETDEFER__
  32.  
  33. #include <ConditionalMacros.h>
  34. #include <DeskBus.h>
  35.  
  36. typedef UInt32            ISpADBDeferRef;                // hidden type
  37.  
  38. typedef CALLBACK_API_C( void , ISpADBDeferCallbackProcPtr )(UInt8 adbCommand, void * adbBuffer, UInt32 refcon);
  39.  
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43. OSErr ISpAllocateADBDeferBlock(ISpADBDeferRef *createBlock);
  44. OSErr ISpDisposeADBDeferBlock(ISpADBDeferRef disposeBlock);
  45. OSErr ISpInstallADBDefer(ISpADBDeferRef refBlock, ADBAddress reqAddress,
  46.                          ISpADBDeferCallbackProcPtr installProc, UInt32 clientRefCon,
  47.                          ADBServiceRoutineUPP *prevRoutine, Ptr *prevDataArea);
  48. OSErr ISpRemoveADBDefer(ISpADBDeferRef refBlock);
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52.  
  53. #endif
  54.